package csel.model.areaeffect;

import csel.model.DamageTypes;
import csel.model.entity.Entity;

public class HurtPlayer extends TimedEffect
{
	private static final long serialVersionUID = 5L;

	public HurtPlayer(int amount)
	{
		super(amount);
	}
	
	protected void doEffect(Entity e)
	{
		e.damage(DamageTypes.Direct, this.getRate());
	}
}
